/**  
 * All rights Reserved, Designed By www.beonelot.com
 * @Package: com.jinxin.platform.eleinspect.service
 * @Filename: EleinspectRecordService.java
 * @Description: TODO(EleinspectRecordService接口)
 * @author: 金鑫智慧
 * @date: 2020-03-30
 * @version: V1.0
 * @Copyright: 2020 www.beonelot.com Inc. All rights reserved.
 * 注意：本内容仅限于重庆金鑫智慧科技有限公司内部传阅，禁止外泄以及用于其他的商业目的
 */
package com.jinxin.platform.cdelecinspect.service;

import com.jinxin.platform.cdelecinspect.mapper.pojo.EleinspectTask;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * TODO(EleinspectRecordService接口)
 * @Classn: EleinspectRecordService
 * @author Lynn
 * @date 2020-04-06
 */

public interface EleinspectTaskService {

    int insertBatch(List<EleinspectTask> taskList);

    int updateBatch(List<EleinspectTask> list);

    List<Map<String,Object>> listTasksPage(HashMap param);

    int listTasksPageCount(HashMap param);

    int updateByKey(EleinspectTask task);

    List<EleinspectTask> list(HashMap param);

    EleinspectTask selectByKey(@Param(value = "id") String id);

    int closeTaskWhenOutOfTime();

    EleinspectTask selectOne(HashMap param);

}
